import Vue from 'vue';
import Router from 'vue-router';
import Hello from '../components/HelloFromVux';
import Login from '../components/user/Login';
import Register from '../components/user/Register';
import Forget from '../components/user/Forget';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Hello',
      component: Hello,
    },
    {
      path: '/login',
      name: 'Login',
      component: Login,
    },
    {
      path: '/register',
      name: 'Register',
      component: Register,
    },
    {
      path: '/forget',
      name: 'Forget',
      component: Forget,
    },
  ],
});
